package com.ssmTest.dao;

import com.ssmTest.model.Interviews;
import com.ssmTest.model.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IInterviewsDao {
    void insertInterviews(Interviews interviews);
    Interviews selectInterviewsID(int id);
    List<Interviews> interviewsList(int toexamine);
    List<Interviews> interviewsLists();
    List<Interviews> selectInterviewsByDate(@Param("startdate") String startdate, @Param("enddate") String enddate);
    int numberOfInterviews(@Param("startdate") String startdate, @Param("enddate") String enddate);
    void updateInterview(Interviews interviews);
    void delInterview(int id);

    void updateInterviewReasion(@Param("id")int id,@Param("remarks")String remarks);

    List<Interviews> selectinterviews(@Param("second_party")int second_party,@Param("start")int start,@Param("end")int end);
    List<Interviews> selectinterview(@Param("first_party")int second_party,@Param("start")int start,@Param("end")int end);

    List<Interviews> selectByPersionalId(int personal_id);
}
